package com.eascs.afterloancheck.service;

import com.eascs.afterloancheck.entity.CheckLoanEntity;
import com.eascs.afterloancheck.form.CheckLoanQueryForm;
import com.eascs.app.dao.PageResult;
import com.eascs.workflow.common.vo.ModelResult;

public interface LoanCheckServicce {
	public PageResult<Object[]> queryListPage(CheckLoanQueryForm form);

	public ModelResult<Boolean> insertCheckLoanEntity(CheckLoanEntity entity);

	public ModelResult<Boolean> startUp(CheckLoanEntity entity);

	public CheckLoanEntity queryEntityById(String parameter);

	public CheckLoanEntity queryEntityByReferId(String parameter);

	public ModelResult<Boolean> update(CheckLoanEntity entity);

	public Integer queryLoanNum(String loanId);

	public PageResult<Object[]> listCheckLoanEntity(String billCode);

	public Boolean isStartFlow(String billCode);

	public CheckLoanEntity queryEntityByBillCode(String billCode);

	public Boolean deleteEntity(CheckLoanEntity entity);
}
